package com.comleader.uap.pojo.vo;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description 网址封堵详情VO对象
 * @Auhtor 连新景
 * @Date 2024/11/25 16:11
 */
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "网址封堵详情VO对象")
@Data
public class UrlBlockDetailVO {

    private List<BlockFeedback> blockFeedbackList;

    private List<UnblockFeedback> unblockFeedbackList;

    @ApiModel(value = "封堵反馈对象")
    @Data
    public static class BlockFeedback {
        @ApiModelProperty(value = "反馈单位(1：通管局 2：中国移动 3：中国联通 4：中国电信 5：广电（华数） )")
        private String unit;
        @ApiModelProperty(value = "执行时间")
        private Date executeTime;
        @ApiModelProperty(value = "指令状态(1:已过滤 2:已下发)")
        private Integer commandStatus;
        @ApiModelProperty(value = "指令备注")
        private String commandRemark;
        @ApiModelProperty(value = "网络类型(1:固网 2:移网)")
        private Integer networkType;
        @ApiModelProperty(value = "封堵状态(1:已封堵 2:未封堵)")
        private Integer blockStatus;
        @ApiModelProperty(value = "封堵备注")
        private String blockRemark;
        @ApiModelProperty(value = "封堵时间")
        private Date blockTime;
    }

    @ApiModel(value = "解封反馈对象")
    @Data
    public static class UnblockFeedback {
        @ApiModelProperty(value = "反馈单位(1：通管局 2：中国移动 3：中国联通 4：中国电信 5：广电（华数） )")
        private String unit;
        @ApiModelProperty(value = "执行时间")
        private Date executeTime;
        @ApiModelProperty(value = "指令状态(1:已过滤 2:已下发)")
        private Integer commandStatus;
        @ApiModelProperty(value = "指令备注")
        private String commandRemark;
        @ApiModelProperty(value = "网络类型(1:固网 2:移网)")
        private Integer networkType;
        @ApiModelProperty(value = "解封状态(1:已封堵 2:未封堵)")
        private Integer unblockStatus;
        @ApiModelProperty(value = "解封备注")
        private String unblockRemark;
        @ApiModelProperty(value = "封堵时间")
        private Date unblockTime;
    }
}